package com.qk.common.enums;

public enum ParamEnum implements  Code{
    PARAM_ERROR(10001,"参数错误"),
    LOGIN_PASSWORD_ERROR(10002,"登录密码错误"),
    LOGIN_USERNAME_ERROR(10003,"登录用户名错误"),
    LOGIN_STATUS_ERROR(10004,"登录用户被停用"),

    ;
    private String msg;
    private final int code;
    ParamEnum(int code, String msg) {
        this.code = code;
        this.msg = msg;
    }
    @Override
    public int getCode() {
        return 0;
    }
    @Override
    public String getMsg() {
        return msg;
    }
}
